package com.ruoyi.manager.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 场地管理对象 t_place
 * 
 * @author ruoyi
 * @date 2025-08-12
 */
public class Place extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 场地ID */
    private Integer id;

    /** 0 篮球 1 羽毛 2乒乓 3游泳) */
    @Excel(name = "0 篮球 1羽毛 2乒乓 3游泳)")
    private Integer type;

    /** 场地编号 随机八位 */
    @Excel(name = "场地编号 随机八位")
    private String number;

    /** 状态 0 可用 1 正在被使用 2 维护 3 关闭 */
    @Excel(name = "状态 0 可用 1 正在被使用 2 维护 3 关闭")
    private Integer status;

    /** 基础价格(分/半小时) */
    @Excel(name = "基础价格(分/半小时)")
    private Integer basePrice;

    /*策略ID*/
    @Excel(name = "策略ID")
    private Integer strategyId;

    /** 场地描述 */
    @Excel(name = "场地描述")
    private String description;

    /** 场地图片URL */
    private String image;



    public Integer getStrategyId() {
        return strategyId;
    }

    public void setStrategyId(Integer StrategyId) {
        this.strategyId = StrategyId;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }

    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }

    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setBasePrice(Integer basePrice)
    {
        this.basePrice = basePrice;
    }

    public Integer getBasePrice()
    {
        return basePrice;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("number", getNumber())
            .append("status", getStatus())
            .append("basePrice", getBasePrice())
            .append("description", getDescription())
            .append("image", getImage())
            .toString();
    }
}
